@import './variable.scss'; // css变量

.mui-table-view-cell.mui-active {
    background-color: #fff;
}

.mui-input-row label {
    font: 1em 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.mui-input-group .mui-input-row:after {
    background-color: #fff;
}

.mui-btn {
    font-size: 16px;
    padding: 8px;
    margin: 10px auto;
}

.lineHref {
    box-shadow: 0px 0px 2px #231f1f;
}

h5.mui-content-padded {
    margin-left: 3px;
    margin-top: 20px !important;
}

h5.mui-content-padded:first-child {
    margin-top: 12px !important;
}

.ui-alert {
    text-align: center;
    padding: 20px 10px;
    font-size: 16px;
}

.mui-input-group:before {
    background-color: #EFEFF4;
}

#insuranceList .mui-input-group:before,
#insuranceList .mui-input-group:after {
    background-color: #fff;
}

.mui-bar-tab {
    border-top: 2px solid #e25f5b;
}

.mui-input-row label~input,
.mui-input-row label~select,
.mui-input-row label~textarea {
    font-size: 1em;
}

.mui-input-row {
    border-bottom: 1px dashed #D2CDCD;
    /*font-size:0.8em;*/
}

.mui-input-row:last-child {
    border: none;
}

.mui-input-group {
    background-color: none !important;
}

.mui-bar-nav.mui-bar {
    .navBarFont {
        font-size: 1em;
        margin-top: 8px;
    }

    .mui-icon {
        color: #fff;
    }
}

.mui-popup {
    z-index: 999999999999;
}

/*最高级别*/
/*mui.toast提示框样式*/
.mui-toast-container {
    top: 10%;
    bottom: auto;
}

/*.mui-toast-message{background:#000 url('../images/loading-2.gif')no-repeat center 10px;opacity:0.6;color:#fff;width:180px;padding:70px 5px 10px 5px;} #e25f5b*/
.mui-toast-message {
    opacity: 0.6;
    color: #fff;
    width: auto;
    max-width: 70%;
    background: #000;
}

/*页面切换样式*/
.mui-views,
.mui-view,
.mui-pages,
.mui-page,
.mui-page-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #efeff4;
}

.mui-pages {
    top: 46px;
    height: auto;
}

// .mui-scroll-wrapper,
// .mui-scroll {
//     background-color: #EAEAEA;
// }

.mui-scroll {
    // padding-bottom: 60px;
}

#sliderSegmentedControl .mui-scroll {
    padding-bottom: 0px;
}

.mui-bar-tab {
    z-index: 99;
}

.mui-page.mui-transitioning {
    -webkit-transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
}

.mui-page-left {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.mui-ios .mui-page-left {
    -webkit-transform: translate3d(-20%, 0, 0);
    transform: translate3d(-20%, 0, 0);
}

.mui-navbar {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 10;
    height: 44px;
    background-color: #f7f7f8;
}

.mui-navbar .mui-bar {
    position: absolute;
    background: transparent;
    text-align: center;
}

.mui-android .mui-navbar-inner.mui-navbar-left {
    opacity: 0;
}

.mui-ios .mui-navbar-left .mui-left,
.mui-ios .mui-navbar-left .mui-center,
.mui-ios .mui-navbar-left .mui-right {
    opacity: 0;
}

.mui-navbar .mui-btn-nav {
    -webkit-transition: none;
    transition: none;
    -webkit-transition-duration: .0s;
    transition-duration: .0s;
}

.mui-navbar .mui-bar .mui-title {
    display: inline-block;
    width: auto;
    font-weight: bold;
}

.mui-page-shadow {
    position: absolute;
    right: 100%;
    top: 0;
    width: 16px;
    height: 100%;
    z-index: -1;
    content: '';
}

.mui-page-shadow {
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, .01) 50%, rgba(0, 0, 0, .2) 100%);
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, .01) 50%, rgba(0, 0, 0, .2) 100%);
}

.mui-navbar-inner.mui-transitioning,
.mui-navbar-inner .mui-transitioning {
    -webkit-transition: opacity 300ms ease, -webkit-transform 300ms ease;
    transition: opacity 300ms ease, transform 300ms ease;
}

.mui-page {
    display: none;
}

.mui-pages .mui-page {
    display: block;
}

.mui-page .mui-table-view:first-child {
    margin-top: 0px;
}

.mui-page .mui-table-view:last-child {
    margin-bottom: 30px;
}

.mui-table-view {
    margin-top: 15px;
}

.mui-table-view span.mui-pull-right {
    color: #999;
}

.mui-table-view-divider {
    background-color: #efeff4;
    font-size: 14px;
}

.mui-table-view-divider:before,
.mui-table-view-divider:after {
    height: 0;
}

.head {
    height: 40px;
}

#head {
    line-height: 40px;
}

.head-img {
    width: 40px;
    height: 40px;
}

#head-img1 {
    margin: 10px;
}

.update {
    font-style: normal;
    color: #999999;
    margin-right: -25px;
    font-size: 15px
}

.mui-fullscreen {
    height: 100%;
    position: fixed;
    z-index: 20;
    /*background-color: #000;*/
}

.mui-ios .mui-navbar .mui-bar .mui-title {
    position: static;
}

.window-mask,
.datagrid-mask {
    z-index: 999;
}

.layui-layer-page .layui-layer-content {
    background: #EAEAEA;
}

.layui-layer .layui-layer-title {
    background-color: #F7F7F7;
    font-size: 17px;
    font-weight: bold;
}


.mui-content {
    background-color: #f7f7f7;
}


.mui-bar {
    height: $headerH;
    line-height: $headerH;
    background-color: $mainColor;

    .mui-title {
        line-height: $headerH;
        font-size: .3rem;
        color: #fff;
    }
}

.mui-bar-nav~.mui-content {
    padding-top: $headerH;
}

.mui-btn-blue,
.mui-btn-primary,
input[type=submit] {
    border: 1px solid $mainColor;
    background-color: $mainColor;
}

.mui-search {
    background-color: $bgColor;

    input[type=search] {
        padding: 0;
        margin: 0 auto;
        width: 100%;
        height: .8rem;
        line-height: .8rem;
        font-size: .26rem;
        background-color: $bgColor;
    }
}

// .mui-segmented-control.mui-segmented-control-inverted{
//     display: inline-block;
//     width:auto;
//     table-layout: initial;
//     .mui-control-item{
//         margin:0 .2rem;
//     }
// }

// scroll
.mui-scroll-wrapper {
    $scrllPullH: .6rem;

    .mui-icon {
        font-size: .4rem;
    }

    .mui-pull-caption {
        height: $scrllPullH;
        line-height: $scrllPullH;
        font-size: .3rem;
    }

    .mui-pull-top-pocket {}

    .mui-pull-bottom-pocket {
        bottom: -0.16rem;
        height: $scrllPullH;
        line-height: $scrllPullH;

        .mui-pull {
            bottom: 0;
        }
    }

    .noData-box {
        margin-top: 1.2rem;
        width: 100%;
        text-align: center;

        .icon-noData {
            font-size: 3rem;
            color: $calcelColor;
        }

        .noData-text {
            font-size: .3rem;
        }
    }
}


// 图片预览
.mui-preview-image.mui-fullscreen {
    position: fixed;
    z-index: 40;
    background-color: #000;
}

.mui-preview-header,
.mui-preview-footer {
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 10;
}

.mui-preview-header {
    height: 44px;
    bottom: 0;
}

.mui-preview-footer {
    height: 50px;
    bottom: 0px;
}

.mui-preview-header .mui-preview-indicator {
    display: block;
    color: #fff;
    line-height: 25px;
    text-align: center;
    font-size: 16px;
    margin: 15px auto 4;
    // width: 70px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
}

.mui-preview-image {
    display: none;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.mui-preview-image.mui-preview-in {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}

.mui-preview-image.mui-preview-out {
    background: none;
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
}

.mui-preview-image.mui-preview-out .mui-preview-header,
.mui-preview-image.mui-preview-out .mui-preview-footer {
    display: none;
}

.mui-zoom-scroller {
    position: absolute;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    -webkit-backface-visibility: hidden;
}

.mui-zoom {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.mui-slider .mui-slider-group .mui-slider-item img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.mui-android-4-1 .mui-slider .mui-slider-group .mui-slider-item img {
    width: 100%;
}

.mui-android-4-1 .mui-slider.mui-preview-image .mui-slider-group .mui-slider-item {
    display: inline-table;
}

.mui-android-4-1 .mui-slider.mui-preview-image .mui-zoom-scroller img {
    display: table-cell;
    vertical-align: middle;
}

.mui-preview-loading {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
}

.mui-preview-loading.mui-active {
    display: block;
}

.mui-preview-loading .mui-spinner-white {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
    height: 50px;
    width: 50px;
}

.mui-preview-image img.mui-transitioning {
    -webkit-transition: -webkit-transform 0.5s ease, opacity 0.5s ease;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

p img {
    max-width: 100%;
    height: auto;
}

// 图片预览 end

// 首页9宫格
.grid-box {
    background:none;
    .mui-grid-view {
        .mui-table-view-cell {
            .mui-media-body {
                display: block;
                padding: 0;
                margin: 0;
                padding-top: .1rem;
                width: 100%;
                height: auto;
                height: auto;
                line-height: 1.2;

            }
        }

        .mui-media {
            border:none;
            .mui-icon {
                padding: .18rem;
                color: #fff;
                font-size: 1.8em;
                background-color: #3f7ab2;
                border-radius: .1rem;
            }
        }
    }
}